WP2FA\Admin\SettingsPages\Settings_Page_Policies C

Total Complexity 108
Dependencies 8
Dependents 2
Total lines 853
Lines of code 579
Logical lines of code 268
Comment lines 197
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_and_sanitize()
D
19
63 200
render()
B
34 13 100
user_profile_settings()
A
37 10 89
generate_custom_user_profile_page()
S
50 5 28
update_wp2fa_network_options()
S
51 3 30
get_post_by_post_name()
S
64 4 10
new_page_created()
S
51 2 26
disable_2fa_removal_setting()
S
53 1 29
user_redirect_after_wizard()
S
54 1 25
grace_period_setting()
S
55 1 24
excluded_roles_or_users_setting()
S
66 2 9
select_method_setting()
S
81 1 3
select_enforcement_policy_setting()
S
81 1 3
excluded_network_sites()
S
82 1 3